<main>
    <?php
    if (isset($_SESSION['chapterPanel']) && isset($_SESSION['subjectPanel'])) {
        $chapter = $_SESSION['chapterPanel'];
        $subject = $_SESSION['subjectPanel'];
        echo "<center><h1>" . $subject . ": " . $chapter . "</div></h1></center>";        
    } else {
        header("location: teacher.php");
    }
    ?>


</main>